package com.zmzncs.lmtc.module.shop.pojo.shop_order;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Author 高博文
 * @Date 2021/05/20 16:25
 */
@Data
public class GoodsBuyForm {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "商品id", required = true)
    @NotNull
    private Long goodsId;

    @ApiModelProperty(value = "用户优惠券")
    private Long custTicketId;

    @ApiModelProperty(value = "商户id")
    private Long shopId;

    @ApiModelProperty(value = "数量")
    private Integer quantity;

    @ApiModelProperty(value = "支付金额", required = true)
    @NotNull
    private BigDecimal paidAmount;

    @ApiModelProperty(value = "应收金额", required = true)
    private BigDecimal payableAmount;

}
